package com.tw.modules.dao;

import com.tw.modules.entity.Diary;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author maxiaodong
 * @since 2018-04-07
 */
public interface DiaryMapper extends BaseMapper<Diary> {

	Diary selectByPhoneAndDate(@Param("phone")long phone,@Param("date")String date);
	List<Diary> selectByPhone(long phone);
}